Skip to content

Drop redis and use sqlite + local disks#1

Merged
arabcoders merged 18 commits intomasterfrom
dev
Oct 6, 2025
Merged

Drop redis and use sqlite + local disks#1
arabcoders merged 18 commits intomasterfrom
dev

Conversation

@arabcoders
Copy link
Copy Markdown
Owner

This pull request introduces a major refactor of environment variables and storage, updates API documentation to reflect new data models and endpoints, and improves the UI for usability and clarity. The most important changes are grouped below by theme.

Environment and Storage Refactor:

  • Replaced Redis-based storage with filesystem-based storage, introducing STORAGE_PATH as the primary configuration variable for data persistence. All related environment variables and Dockerfile references have been updated accordingly. (.env.example, Dockerfile) [1] [2]
  • Added new environment variables for automatic cleanup and retention: CLEANUP_ENABLED, CLEANUP_ON_STARTUP, and CLEANUP_INTERVAL_HOURS. (.env.example)

API Documentation and Data Model Updates:

  • Updated the README.md API documentation to reflect new response formats, more accurate field names, and the switch to UUIDs for resource identifiers. Added detailed examples for all endpoints and clarified request/response bodies. (README.md) [1] [2] [3]
  • Added documentation for a new manual request ingestion endpoint (POST /api/token/{tokenId}/ingest), including usage examples. (README.md)
  • Updated event names and payloads for the SSE (Server-Sent Events) API, including new events and more descriptive field names. (README.md)

UI and Usability Improvements:

  • Improved header layout and token display in Header.vue, added a tooltip and click-to-copy feature for the payload URL, and clarified modal descriptions. (app/components/Header.vue) [1] [2] [3]
  • Updated code highlighting fallback language to text for better reliability. (app/components/CodeHighlight.vue)
  • Enhanced inline code styling in prose blocks for better readability. (app/assets/css/main.css)

@arabcoders arabcoders changed the title Re-a Drop redis and use sqlite + local disks Oct 6, 2025
@arabcoders arabcoders merged commit 87824ee into master Oct 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant